﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream1
{
    class User
    {

        public User() 
        {
        
        }
        public string Name { get; set; }

        public int Account { get; set; }

        public string Dep { get; set; }

        public User(string Name,int Account, string Dep) 
        {
            this.Name = Name;
            this.Account = Account;
            this.Dep = Dep;
        }

        public void Staff() 
        {
            Console.WriteLine("我叫{0}，我的员工号是{1}，我所在的部门是{2}",this.Name,this.Account,this.Dep);
        }
    }
}
